import request from '@/utils/request';
// list
export const yingpingfankuiList = (params) => {
  return request({
    url: '/admin/yingpingfankui/page',
    method: 'post',
    data: params,
  })
};
export const yingpingfankuiDetail = (id) => {
  return request({
    url: '/admin/yingpingfankui/' + id,
    method: 'get',
  })
};
// add
export const yingpingfankuiSave = (params) => {
  return request({
    url: '/admin/yingpingfankui',
    method: 'post',
    data: params,
  })
};
// updt
export const yingpingfankuiEdit = (params) => {
  return request({
    url: '/admin/yingpingfankui',
    method: 'put',
    data: params,
  })
};
// delete
export const yingpingfankuiDelete = (id) => {
  return request({
    url: '/admin/yingpingfankui/' + id,
    method: 'delete',
  })
};
// pldel
export const yingpingfankuiDeleteList = (yingpingfankuis) => {
  return request({
    url: '/admin/yingpingfankui/deleteList',
    data: { list: yingpingfankuis },
    method: 'post',
  })
};
// all
export const yingpingfankuiAllList = () => {
  return request({
    url: '/admin/yingpingfankui',
    method: 'get',
  })
};

export const yingpingfankui_tj_pingfen = () => { return request({ url: '/admin/yingpingfankui/yingpingfankui_tj_pingfen', method: 'get', }) };
